package com.yang.design.create.builder;

public class Client {
    public static void main(String[] args) {
        Director director = new Director(new HelloBuilder());
        Bike bike = director.construct();
        System.out.println(bike);

        RabbitMQClient rabbitMQClient = new RabbitMQClient.Builder().setIp("127.0.0.1").setPort("8080").build();
        System.out.println(rabbitMQClient);
    }
}
